package com.taxshare.seller.entity;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;

/**
    * @ClassName: SupplierInfoEntity
    * @Description: (供应商公司)
    * @author liupp
    * @date 2021年3月4日
    *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_manager_supplier")
public class SupplierInfoEntity extends BaseEntity implements Serializable {

	@TableId("uuid")
    @ApiModelProperty("uuid")
    private String uuid;
	
	@TableField("supplier_code")
    @ApiModelProperty("供应商编码")
    private String supplierCode;

	@TableField("supplier_name")
    @ApiModelProperty("供应商名称")
    private String supplierName;

	@TableField("supplier_taxno")
    @ApiModelProperty("供应商税号")
    private String supplierTaxno;

	@TableField("supplier_addr")
    @ApiModelProperty("供应商地址")
    private String supplierAddr;

	@TableField("supplier_tel")
    @ApiModelProperty("供应商电话")
    private String supplierTel;

	@TableField("supplier_bank")
    @ApiModelProperty("供应商开户银行")
    private String supplierBank;

	@TableField("supplier_bank_account")
    @ApiModelProperty("供应商银行账户")
    private String supplierBankAccount;

	@TableField("supplier_nature")
    @ApiModelProperty("企业性质")
    private String supplierNature;

	@TableField("special_invoice_sum")
    @ApiModelProperty("专票限额 key:value   9999:万  99999:十万  999999:百万 9999999:千万 99999999:亿 ")
    private String specialInvoiceSum;

	@TableField("common_invoice_sum")
    @ApiModelProperty("普票限额 如专")
    private String commonInvoiceSum;

	@TableField("ele_invoice_sum")
    @ApiModelProperty("电票限额 如专")
    private String eleInvoiceSum;

	@TableField("reviewer")
    @ApiModelProperty("复核人")
    private String reviewer;

	@TableField("payee")
    @ApiModelProperty("收款人")
    private String payee;

	@TableField("drawer")
    @ApiModelProperty("开票人")
    private String drawer;

	@TableField("taxpayer_type")
    @ApiModelProperty("纳税人类型  0  小规模纳税人 1 一般纳税人")
    private String taxpayerType;

	@TableField("isgoods_name")
    @ApiModelProperty("明细合并规则 0 商品名称 1 商品类别 ")
    private String isgoodsName = "0";

	@TableField("appid")
    @ApiModelProperty("税神通appid")
    private String appid;

	@TableField("equipment_mode")
    @ApiModelProperty("设备类型（0金税盘 1税控盘  2盘柜  3电票平台 4简易税控盘）")
    private String equipmentMode;

	@TableField("reconciliant_name")
    @ApiModelProperty("对账人")
    private String reconciliantName;

	@TableField("reconciliant_tel")
    @ApiModelProperty("对账人联系电话")
    private String reconciliantTel;

	@TableField("supplier_type")
    @ApiModelProperty("供应商类型")
    private String supplierType;

	@TableField("auto_make_account")
    @ApiModelProperty("自定生成账单（0 否  1是）")
    private String autoMakeAccount;

	@TableField("auto_make_invoice")
    @ApiModelProperty("直连开票（0 否  1是）")
    private String autoMakeInvoice;

	@TableField("link_company_taxno")
    @ApiModelProperty("所属公司税号")
    private String linkCompanyTaxno;

}
